#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ(2.59)
AC_INIT(Athena, 0.1, seba.chang@qq.com)
AC_CONFIG_SRCDIR([src/main.cpp])
AC_CONFIG_HEADER([config.h])

# Checks for programs.
AC_PROG_CXX
AC_PROG_CC

# Checks for libraries.

# Checks for header files.

# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL
AC_C_CONST
AC_TYPE_SIZE_T
AC_HEADER_TIME

AM_INIT_AUTOMAKE
AC_CONFIG_FILES([
        Makefile
        src/Makefile])

# Checks for library functions.
AC_CHECK_FUNCS([memset])

# ./configure --enable-debug
AC_ARG_ENABLE(debug, [--enable-debug    turn on debug], CXXFLAGS="$CXXFLAGS -g3 -D_DEBUG=1")

AC_OUTPUT

